package edu.sctu.nieyu.day20150606.trainsystem;

import java.util.ArrayList;

import java.util.List;

/**
 * Created by user01 on 2015/6/6.
 */
public class PassengerData {

    public List<Passenger> passengerData(){


        List<Passenger> list = new ArrayList<Passenger>();
        Passenger passenger1 = new Passenger();
        passenger1.setName("王福鑫");
        passenger1.setIs_card(true);
        passenger1.setCardName("普通卡");
        passenger1.setIs_luggage(true);
        passenger1.setLuggageName("衣服");
        passenger1.setIs_water(false);
        passenger1.setPrice(15);
        passenger1.setStart("龙泉驿");
        passenger1.setEnd("犀浦");
        passenger1.setIs_action(true);
        passenger1.setAction("偷窃");


        list.add(passenger1);

        Passenger passenger2 = new Passenger();
        passenger2.setName("老王土狗");
        passenger2.setIs_card(false);
        passenger2.setIs_luggage(true);
        passenger2.setLuggageName("大樱桃");
        passenger2.setIs_water(true);
        passenger2.setWaterName("羌族圣水");
        passenger2.setPrice(9);
        passenger2.setStart("书房");
        passenger2.setEnd("犀浦");
        passenger2.setIs_action(true);
        passenger2.setAction("睡觉");
        list.add(passenger2);

        Passenger passenger3 = new Passenger();
        passenger3.setName("习近平");
        passenger3.setIs_card(true);
        passenger3.setCardName("超级贵宾卡");
        passenger3.setStart("天府广场");
        passenger3.setEnd("四川旅游学院");
        passenger3.setIs_action(true);
        passenger3.setAction("玩手机");
        list.add(passenger3);



        return list;
    }
}


